﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Umi.Web.Abstraction.Services
{
    /// <summary>
    /// 消息发送者
    /// </summary>
    public interface IMessageSender
    {
        /// <summary>
        /// 发送消息
        /// </summary>
        /// <param name="recipient">接受者</param>
        /// <param name="title">标题</param>
        /// <param name="context">内容</param>
        /// <returns></returns>
        Task<bool> SendMessage(string recipient, string title, string context);
    }
}
